import request from '@/utils/request'

// 获取站点下拉列表
export function getSiteList() {
  return request({
    url: '/dispatch/system/dispatchDeviceMonitor/siteList',
    method: 'get'
  })
}

// 获取设备监控列表
export function getDeviceMonitorList(params) {
  return request({
    url: '/dispatch/system/dispatchDeviceMonitor',
    method: 'get',
    params
  })
}

// 导出设备监控列表
export function exportDeviceMonitor(params) {
  return request({
    url: '/dispatch/system/dispatchDeviceMonitor/export',
    method: 'get',
    params,
    responseType: 'blob'
  })
}